package com.wf.service;

import com.wf.dao.pojo.Article;
import com.wf.vo.Result;
import com.wf.vo.params.ArticleParam;

import java.util.List;

public interface ArticleService {

    Result getArticleList(Integer page, Integer pageSize);

    Result hotArticle();

    Result newArticle();

    Result listArchives();

    Result findArticleById(Integer id);

    Result publish(ArticleParam articleParam);

    List<Article> getMyArticleList(int page, int pageSize, int userId);

    void deleteArticleById(Integer articleId);
}
